package com.xhd.xml;

import com.xhd.base.util.xBaseObj;
import com.xhd.codec.CryptoFilter;
import com.xhd.exception.XException;
import com.xhd.util.DataRelation;
import com.xhd.util.ObjectSerializer;

public class NullXmlTool
implements ObjectSerializer
{
private ObjectSerializer jm356;
private static NullXmlTool jm16 = new NullXmlTool();

public static NullXmlTool getInstance()
{
  return jm16;
}

public NullXmlTool()
{
}

public NullXmlTool(ObjectSerializer paramObjectSerializer)
{
  this.jm356 = paramObjectSerializer;
}

public Object serializeObject(xBaseObj paramxBaseObj, int paramInt)
  throws XException
{
  return null;
}

public Object serializeObject(Throwable paramThrowable, int paramInt)
{
  return null;
}

public String getData(String paramString)
  throws XException
{
  if (this.jm356 != null)
    return this.jm356.getData(paramString);
  return null;
}

public void instanceObject(xBaseObj paramxBaseObj)
  throws XException
{
}

public void instanceRelationObject(DataRelation paramDataRelation)
  throws XException
{
  if (this.jm356 == null)
    return;
  this.jm356.instanceRelationObject(paramDataRelation);
}

public void setFilter(CryptoFilter paramCryptoFilter)
{
}
}